using UnityEngine;
using Voxels;

namespace Game {
	public sealed class BlockItemWorldPresenter : InventoryItemPresenter<BlockItem> {
		public MeshFilter MeshFilter;

		public override void Setup(BlockItem item) {
			var mesh = StaticResources.GetBlockMesh(item.BlockData);
			MeshFilter.mesh = mesh;
		}
	}
}
